Skip to content

Conversation

@ChrisMcKee1
Copy link
Contributor

Description

Adds a comprehensive Aspire skill to the skills/ directory, covering .NET Aspire's polyglot distributed-application orchestration toolchain.

What's included

  • skills/aspire/SKILL.md — Main skill file with progressive disclosure structure covering:

    • Prerequisites & installation
    • Project templates
    • AppHost quick start (polyglot — C#, Python, JS/TS, Go, Java, Rust, etc.)
    • Core concepts (run vs publish, service discovery, resource lifecycle, integrations, dashboard, MCP, testing, deployment)
    • CLI quick reference
    • Common patterns (adding services, migrating from Docker Compose)
  • 9 reference documents in skills/aspire/references/:

    • polyglot-apis.md — Full method signatures and chaining options
    • integrations-catalog.md — 144+ integrations across 13 categories
    • cli-reference.md — All CLI commands with flags and usage
    • architecture.md — DCP internals, resource model, networking, telemetry
    • deployment.md — Docker, Kubernetes, Azure Container Apps, App Service
    • mcp-server.md — MCP server setup for AI assistants
    • dashboard.md — Dashboard features, standalone mode, GenAI Visualizer
    • testing.md — Integration testing patterns
    • troubleshooting.md — Diagnostic codes, common errors, fixes

Checklist

  • Skill folder contains a SKILL.md file
  • SKILL.md has markdown front matter
  • name field matches folder name (aspire, lowercase)
  • description field is non-empty (253 chars, within 10-1024 range)
  • Folder name is lowercase with hyphens
  • All bundled assets are referenced in SKILL.md
  • All bundled assets are under 5MB (largest is ~10KB)
  • npm run skill:validate passes (all 38 skills valid)
  • npm run build executed (README.skills.md updated)
  • Line endings normalized

Add comprehensive Aspire skill covering CLI, AppHost orchestration, service discovery, integrations (144+), MCP server, dashboard, testing, deployment, and troubleshooting. Includes reference docs for polyglot APIs, architecture, CLI, integrations catalog, and more.
Copilot AI review requested due to automatic review settings February 6, 2026 01:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a comprehensive Aspire skill covering .NET Aspire's polyglot distributed-application orchestration toolchain. The skill provides detailed documentation for creating, running, debugging, configuring, deploying, and troubleshooting Aspire distributed applications.

Changes:

  • Added new aspire skill with main SKILL.md and 9 reference documents covering all aspects of Aspire
  • Updated README.skills.md to include the new skill with all bundled assets listed
  • All files follow proper naming conventions (lowercase with hyphens)

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
skills/aspire/SKILL.md Main skill file with front matter, progressive disclosure structure, and references to all 9 documentation files
skills/aspire/references/architecture.md Deep dive into DCP engine, resource model, service discovery, networking, and telemetry
skills/aspire/references/cli-reference.md Complete CLI command reference with flags and usage examples
skills/aspire/references/dashboard.md Dashboard features, standalone mode, and GenAI Visualizer documentation
skills/aspire/references/deployment.md Deployment targets (Docker, Kubernetes, Azure) and CI/CD integration
skills/aspire/references/integrations-catalog.md 144+ integrations across 13 categories with package references
skills/aspire/references/mcp-server.md MCP server setup for AI assistants with configuration examples
skills/aspire/references/polyglot-apis.md Complete API reference for 10+ languages including C#, Python, JavaScript, Go, Java, and Rust
skills/aspire/references/testing.md Integration testing patterns with xUnit, MSTest, and NUnit examples
skills/aspire/references/troubleshooting.md Diagnostic codes and common issues with solutions
docs/README.skills.md Updated to include the aspire skill entry with all 9 bundled assets

Rewrite Section 1 (Researching Aspire Documentation) to use Context7 as the primary method for querying docs and code examples. Context7 provides a single-step lookup with code snippets and source links, vs the two-step GitHub search + file read approach. The GitHub method is preserved as a fallback.
Tested all 5 Context7 Aspire library IDs with identical queries to compare content freshness and quality. Key findings: - /microsoft/aspire.dev (repo) has the best coverage including Aspire 13+ APIs - /websites/learn_microsoft-en-us-dotnet-aspire (website) is a good alternative - /dotnet/docs-aspire is the LEGACY repo being superseded, missing newer APIs - Added quality ranking table, usage guidance per source, and expanded query examples
Copy link
Contributor

@aaronpowell aaronpowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a number of inaccuracies in here that would result in an incorrectly created app

@ChrisMcKee1
Copy link
Contributor Author

Would love for feedback to make it better. We need this, you can ping me on Teams if easier this week.

…s, simplify integrations catalog

- Move all reference docs from cli/, mcp/, framework/ subfolders into references/ per agentskills.io spec

- Update all cross-references in SKILL.md and reference files

- Version-gate MCP tools: 9 tools in 13.1+, docs tools (list_docs/search_docs/get_doc) in 13.2+

- Simplify integrations-catalog.md to lead with MCP tool discovery (list_integrations/get_integration_docs)

- Remove .vscode/mcp.json (test artifact from aspire mcp init)
@ChrisMcKee1
Copy link
Contributor Author

Thanks for the review @aaronpowell, pushed a refactor addressing all the feedback:

CLI Reference: Removed aspire build, aspire test, aspire dev, and aspire list (none are valid in 13.1). Added an explicit "Commands That Do NOT Exist" section with alternatives. All remaining commands verified against CLI 13.1.0, including aspire add, aspire publish, aspire deploy, aspire do, aspire config, aspire cache, aspire update, and aspire mcp subcommands.

Integrations Catalog: Replaced the full static NuGet package tables with MCP tool-based discovery (list_integrations / get_integration_docs). The file now points users to live data instead of maintaining a potentially stale list. Kept a summary "categories at a glance" table with example hosting packages. Community Toolkit called out as a separate namespace (CommunityToolkit.Aspire.*).

MCP Server: Rewrote to match https://aspire.dev/get-started/configure-mcp/. Tools list now matches the official docs exactly (list_resources, list_console_logs, list_structured_logs, list_traces, list_trace_structured_logs, execute_resource_command, list_apphosts, select_apphost, list_integrations, get_integration_docs). Config example uses "type": "stdio" with "args": ["mcp", "start"]. Supported environments updated to VS Code, Copilot CLI, Claude Code, OpenCode.

Docs strategy (version-gated):

CLI 13.2+: Use the native MCP docs tools (list_docs, search_docs, get_doc) shipped in PR #14028. Ref: https://davidpine.dev/posts/aspire-docs-mcp-tools/
CLI 13.1: Fall back to Context7 (/microsoft/aspire.dev) for documentation queries, since the MCP server on 13.1 only exposes integration tools, not docs search.
Troubleshooting — Reddit link updated to https://www.reddit.com/r/aspiredotdev/.

Dashboard: Fixed the docker run syntax (removed contradictory -it + -d flags and spurious aspire-dashboard argument).

SKILL.md: Restructured guidance to lead with the Aspire MCP server's built-in tools rather than presenting Context7 as the primary approach. Context7 repositioned as a fallback.

@aaronpowell
Copy link
Contributor

I've reached out to the aspire team for a review, and they've suggested that this might be better contributed to their repo to ship as part of the Aspire CLI. That'd improve adoption by not requiring external discovery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants